﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Cloak.Work.NHibernate.Autofac
{
	/// <summary>
	/// Types of work contexts which can be in effect for a lifetime scope
	/// </summary>
	public enum WorkContextType
	{
		/// <summary>
		/// Work in the context is committed within a transaction
		/// </summary>
		Atomic,

		/// <summary>
		/// Work in the context is committed outside a transaction
		/// </summary>
		NonAtomic
	}
}